Fatal error: Uncaught Error: Call to a member function get_cart_contents() on null in /var/www/web25965768/html/meinestoffkiste/wp-content/plugins/advanced-product-quantity/includes/class-af-a-q-main.php:797
Stack trace:
#0 /var/www/web25965768/html/meinestoffkiste/wp-content/plugins/advanced-product-quantity/includes/class-af-a-q-main.php(870): AF_A_Q_Main->get_product_exiting_quantity(Object(WC_Product_Simple))
#1 /var/www/web25965768/html/meinestoffkiste/wp-includes/class-wp-hook.php(324): AF_A_Q_Main->afadv_qty_add_to_cart_validation(true, 38663, 0.5)
#2 /var/www/web25965768/html/meinestoffkiste/wp-includes/plugin.php(205): WP_Hook->apply_filters(true, Array)
#3 /var/www/web25965768/html/meinestoffkiste/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(840): apply_filters('woocommerce_add...', true, 38663, 0.5)
#4 /var/www/web25965768/html/meinestoffkiste/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(814): WC_Form_Handler::add_to_cart_handler_simple(38663)
#5 /var/www/web25965768/html/meinestoffkiste/wp-includes/class-wp-hook.php(324): WC_Form_Handler::add_to_cart_action('')
#6 /var/www/web25965768/html/meinestoffkiste/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#7 /var/www/web25965768/html/meinestoffkiste/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /var/www/web25965768/html/meinestoffkiste/wp-settings.php(717): do_action('wp_loaded')
#9 /var/www/web25965768/html/meinestoffkiste/wp-config.php(83): require_once('/var/www/web259...')
#10 /var/www/web25965768/html/meinestoffkiste/wp-load.php(50): require_once('/var/www/web259...')
#11 /var/www/web25965768/html/meinestoffkiste/wp-blog-header.php(13): require_once('/var/www/web259...')
#12 /var/www/web25965768/html/meinestoffkiste/index.php(17): require('/var/www/web259...')
#13 {main}
thrown in /var/www/web25965768/html/meinestoffkiste/wp-content/plugins/advanced-product-quantity/includes/class-af-a-q-main.php on line 797